export function setTabs(county) {
    if (county === '雨城') {
      return  [
        { label: '雨城', name: '1' },
        { label: '上里镇', name: '2' },
        { label: '碧峰峡镇', name: '3' },
        { label: '望鱼镇', name: '4' },
        { label: '周公山镇', name: '5' },
        { label: '草坝镇', name: '6' },
        { label: '多营镇', name: '7' },
        { label: '八步镇', name: '8' },
        { label: '晏场镇', name: '9' },
        { label: '大兴街道', name: '10' },
        { label: '东城街道', name: '11' },
        { label: '西城街道', name: '12' },
        { label: '河北街道', name: '13' },
        { label: '青江街道', name: '14' }
      ];
    }  else if (county === '经开') {
      return  [
        { label: '经开', name: '1' },
        { label: '永兴街道', name: '2' },
      ];
    }else if (county === '名山') {
      return  [
        { label: '名山', name: '1' },
        { label: '蒙阳街道', name: '2' },
        { label: '永兴街道', name: '3' },
        { label: '万古镇', name: '4' },
        { label: '百丈镇', name: '5' },
        { label: '茅河镇', name: '6' },
        { label: '马岭镇', name: '7' },
        { label: '红星镇', name: '8' },
        { label: '新店镇', name: '9' },
        { label: '前进镇', name: '10' },
        { label: '中峰镇', name: '11' },
        { label: '蒙顶山镇', name: '12' },
        { label: '黑竹镇', name: '13' },
        { label: '车岭镇', name: '14' }
      ];
    } else if (county === '天全') {
      return  [
        { label: '天全', name: '1' },
        { label: '始阳镇', name: '2' },
        { label: '思经镇', name: '3' },
        { label: '喇叭河镇', name: '4' },
        { label: '仁义镇', name: '5' },
        { label: '小河镇', name: '6' },
        { label: '新场镇', name: '7' },
        { label: '城厢镇', name: '8' },
        { label: '乐英镇', name: '9' },
        { label: '新华镇', name: '10' },
        { label: '兴业乡', name: '11' }
      ];
    } else if (county === '芦山') {
      return  [
        { label: '芦山', name: '1' },
        { label: '芦阳街道', name: '2' },
        { label: '大川镇', name: '3' },
        { label: '飞仙关镇', name: '4' },
        { label: '双石镇', name: '5' },
        { label: '太平镇', name: '6' },
        { label: '宝盛乡', name: '7' },
        { label: '龙门乡', name: '8' },
        { label: '思延乡', name: '9' }
      ];
    } else if (county === '宝兴') {
      return  [
        { label: '宝兴', name: '1' },
        { label: '陇东镇', name: '2' },
        { label: '穆坪镇', name: '3' },
        { label: '灵关镇', name: '4' },
        { label: '五龙镇', name: '5' },
        { label: '大溪镇', name: '6' },
        { label: '蜂桶寨乡', name: '7' },
        { label: '硗碛藏族乡', name: '8' }
      ];
    } else if (county === '荥经') {
      return  [
        { label: '荥经', name: '1' },
        { label: '严道街道', name: '2' },
        { label: '花滩镇', name: '3' },
        { label: '青龙镇', name: '4' },
        { label: '荥河镇', name: '5' },
        { label: '新添镇', name: '6' },
        { label: '牛背山镇', name: '7' },
        { label: '五宪镇', name: '8' },
        { label: '龙苍沟镇', name: '9' },
        { label: '宝峰彝族乡', name: '10' },
        { label: '民建彝族乡', name: '11' },
        { label: '安靖乡', name: '12' },
        { label: '泗坪乡', name: '13' }
      ];
    } else if (county === '汉源') {
      return  [
        { label: '汉源', name: '1' },
        { label: '大树镇', name: '2' },
        { label: '安乐镇', name: '3' },
        { label: '九襄镇', name: '4' },
        { label: '前域镇', name: '5' },
        { label: '富庄镇', name: '6' },
        { label: '宜东镇', name: '7' },
        { label: '唐家镇', name: '8' },
        { label: '乌斯河镇', name: '9' },
        { label: '皇木镇', name: '10' },
        { label: '富林镇', name: '11' },
        { label: '清溪镇', name: '12' },
        { label: '富泉镇', name: '13' },
        { label: '富乡乡', name: '14' },
        { label: '马烈乡', name: '15' },
        { label: '河南乡', name: '16' },
        { label: '晒经乡', name: '17' },
        { label: '小堡藏族彝族乡', name: '18' },
        { label: '坭美彝族乡', name: '19' },
        { label: '永利彝族乡', name: '20' },
        { label: '顺河彝族乡', name: '21' },
        { label: '片马彝族乡', name: '22' }
      ];
    } else if (county === '石棉') {
      return  [
        { label: '石棉', name: '1' },
        { label: '新棉街道', name: '2' },
        { label: '安顺场镇', name: '3' },
        { label: '回隆镇', name: '4' },
        { label: '美罗镇', name: '5' },
        { label: '王岗坪彝族藏族乡', name: '6' },
        { label: '永和乡', name: '7' },
        { label: '迎政乡', name: '8' },
        { label: '丰乐乡', name: '9' },
        { label: '蟹螺藏族乡', name: '10' },
        { label: '新民藏族彝族乡', name: '11' },
        { label: '草科藏族乡', name: '12' },
        { label: '栗子坪彝族乡', name: '13' }
      ];
    }else if (county === '雅安') {
      return  [
        { label: '雅安', name: '1' },
      ];
    }
  }